AXIS#.EIP.PUNIT.PIN
Description
This parameter, along with AXIS#.EIP.PUNIT.POUT, determines the EtherNet/IP position unit scaling. The EtherNet/IP value gets converted to internal units using the equation below.
FB# is the feedback assigned as the position source (AXIS#.PL.FBSOURCE).
The default for PIN is 216 and POUT is 1, which sets EtherNet/IP units to be 216 counts / rev.
-
- The keywords AXIS#.EIP.PUNIT.PIN and AXIS#.EIP.PUNIT.POUT replace the deprecated keyword AXIS#.EIP.POSUNIT as they permit a more flexible scaling scheme that can utilize more than just 2x counts/rev scales. AXIS#.EIP.POSUNIT is still supported for older applications and setting it will update the PIN and POUT keywords.
Example
Rotary Motor
Note that FB#.PRES for rotaries is always 232 counts/rev. If units are desired in milli-degrees, ie: 360,000 counts/rev:
-->AXIS1.EIP.PUNIT.PIN 360000
-->AXIS1.EIP.PUNIT.POUT 1
If EtherNet/IP position received is 1080000, it resolves down to
For a linear motor wanting units to be in micrometers, ie: 1000 counts = 1000 um = 1 mm.
When using a linear motor with motor pitch of 32mm, the internal resolution (FB#.PRES) will be:
232 counts = 32mm, or 232 counts / 32mm = 227 counts / mm
For an example of EtherNet/IP scaling with the linear servo motor see Example 8: Direct Drive Linear Motor with Linear Encoder (as primary feedback).
With this scaling, when EtherNet/IP position of 2000 counts is received, it is equivalent to 2000um or 2mm.
Context
Versions
| Action | Version | Notes |
|---|---|---|
| Implemented | 02-10-03-000 |
General Information
|
Type |
Read/Write |
|
Units |
N/A |
|
Range |
1 to 232-1 |
|
Default Value |
216 |
|
Data Type |
Integer |
|
Stored in Non-Volatile Memory |
Yes |
Variants Supported
EtherNet/IP drives: AKD2G-SPI
Industrial Ethernet Information
|
ID |
Instance |
Attribute |
Name |
Data Type |
Access |
User Mappable |
|---|---|---|---|---|---|---|
|
7539 |
1 |
7539 (0x1d73) |
AXIS1.EIP.PUNIT.PIN |
Unsigned32 |
Read/Write |
Yes |
|
73075 |
2 |
7539 (0x1d73) |
AXIS2.EIP.PUNIT.PIN |
Unsigned32 |
Read/Write |
Yes |






